﻿using Medianamik.Service.ActiveDirectory.Repository;
using StructureMap.Configuration.DSL;

namespace Medianamik.Service.ActiveDirectory.Registratrion
{
    public class RepositoryRegistry : Registry
    {
        public RepositoryRegistry()
        {

            ForRequestedType<IGroupAssociationsRepository>()
                .TheDefaultIsConcreteType<GroupAssociationsRepository>();

            ForRequestedType<IMembershipRepository>()
                .TheDefaultIsConcreteType<MembershipRepository>();
                
        }
    }
}